function removeAlphabet(id)    
{        
	var element = document.getElementById(id);        
	if(isNaN(new Number(element.value)))                
		element.value = element.value.substring(0, element.value.length - 1)     
}

function displayMsg(divMsg)    
{        
	setTimeout("$(\"#"+divMsg+"\").hide(1000)",5000)
}

function isNumeric(strString)
{
   var strValidChars = "0123456789.-";
   var strChar;
   var blnResult = true;

   if (strString.length == 0) return false;

   for (i = 0; i < strString.length && blnResult == true; i++)
	  {
	  strChar = strString.charAt(i);
	  if (strValidChars.indexOf(strChar) == -1)
		 {
		 blnResult = false;
		 }
	  }
   return blnResult;
}